namespace Recast
{
	public unsafe partial class RecastGlobal
	{
		public unsafe partial class rcIntArray
		{
			public rcTempVector<int> m_impl = new rcTempVector<int>();

			public rcIntArray()
			{
			}
			public rcIntArray(int n)/*: m_impl(n, 0)*/
			{
				m_impl = new rcTempVector<int>(n, (int*)0);
			}
			~rcIntArray()
			{
			}
			public void push(int item)
			{
				m_impl.push_back(item);
			}
			public void resize(int size)
			{
				m_impl.resize(size);
			}
			public void clear()
			{
				m_impl.clear();
			}
			public int pop()
			{
				int v = m_impl.back();
				m_impl.pop_back();
				return v;
			}
			public int size()
			{
				int size = (int)m_impl.size();
				return size;
			}
			public int this[int index]
			{
				get => m_impl[index];
				set => m_impl[index] = value;
			}
			public int* Data => m_impl.m_data;
		}
	}
}
